<me:UIMSTOCK x:Class="WPFExcelReport.WI09"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                     xmlns:Localization="clr-namespace:Localization;assembly=Localization"                    
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIMSTOCK.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby10000  x:Key="dw"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIMSTOCK.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <WrapPanel Name="ZoneOrder" >
            <TextBlock FontSize="18"  VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=更新}}"></TextBlock>
            <Button  Width="30" Height="30" Margin="10,0,0,0"  Click="RefreshMStockCommand">
                <Button.Background>
                    <ImageBrush  ImageSource="/ImagePackage;component/Images/Refresh.png" />
                </Button.Background>
            </Button>
            <TextBlock FontSize="18" VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=年份}}"></TextBlock>
            <TextBox FontSize="18"   Text="{Binding SYEAR}" Width="80" VerticalAlignment="Center" Background="AliceBlue"></TextBox>
            <TextBlock FontSize="18" VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=月份}}"></TextBlock>
            <TextBox FontSize="18"   Text="{Binding SMOTH}" VerticalAlignment="Center" Width="30" Background="AntiqueWhite"></TextBox>
            <TextBlock FontSize="12" VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=期初}}"></TextBlock>
            <TextBox FontSize="12"   Text="{Binding SDATE}" VerticalAlignment="Center" Width="80" Background="AntiqueWhite"></TextBox>
            <TextBlock FontSize="12" VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=期末}}"></TextBlock>
            <TextBox FontSize="12"   Text="{Binding EDATE}" VerticalAlignment="Center" Width="80" Background="AntiqueWhite"></TextBox>
            <TextBox    Text="{Binding LO}" MaxLength="2" Width="40" Margin="10,0,0,0"  VerticalAlignment="Center" Background="White"  CharacterCasing="Upper" TabIndex="11" />
            <TextBlock Width="Auto"  VerticalAlignment="Center">LB:</TextBlock>
            <TextBox    Text="{Binding LB}"  VerticalAlignment="Center" MaxLength="2" Width="40" Margin="10,0,0,0"  HorizontalAlignment="Left" Background="White"  CharacterCasing="Upper" TabIndex="11" />
         </WrapPanel>      
    </Grid>
</me:UIMSTOCK>
